package cn.factorybox.item.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-03-29 18:02
 */

@ConfigurationProperties(prefix = "factorybox.config")
public class JwtProperties {

    private String key; // 密钥

    private int expire; // token过期时间

    private String cookieName;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getExpire() {
        return expire;
    }

    public void setExpire(int expire) {
        this.expire = expire;
    }

    public String getCookieName() {
        return cookieName;
    }

    public void setCookieName(String cookieName) {
        this.cookieName = cookieName;
    }
}
